Let's learn One to Many Relationships
1. Create a new Laravel installation called onetomany
2 Create a database with the same name onetomany
3. Make sure your database setting is in your .env file so that you may connect to it of course.
On the next video, Edwin from the past will Edit the migration for the posts table and migrate, you might want to take a look at that.
Older Laravel versions will have the $table->increments('id') by default when you create a migration but the new versions have $table->id(), don't worry about this are basically the same thing